package com.smedi.ismedi.authoritymanagement.core.application.service;

import com.smedi.ismedi.authoritymanagement.core.application.command.*;
import com.smedi.ismedi.authoritymanagement.core.domain.aggregatemodel.*;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @Author: xulinjun
 * @Date: 2021-7-2 10:39
 */
public interface AuthorityInfrastructureApplicationService {
    List<TermPage> batchSaveTermPage(List<TermPageCommand> termCommands);

    List<TermMenu> batchSaveTermMenu(List<TermMenuCommand> termCommands);

    List<TermRouter> batchSaveTermRouter(List<TermRouterCommand> termCommands);

    List<TermRelationshipGroupType> batchSaveRolePermissionType(List<TermRelationshipGroupCommand> termRelationshipGroupCommands);

    FrameStructure saveFrameStructure(FrameStructureCommand frameStructureCommand);

}
